<template>
    <div class="quarterly_report">
 
            <!-- <xlUntil text="工商信息" :queryParam="queryParam" :filtersVislble="true" :addBtn="true" :untilVisible="false"  v-bind="$attrs"></xlUntil> -->

        <div class="xlSeeFrom">
            <div class="xlSeeFrom-view">
            <a-descriptions bordered :column="2">
                    <a-descriptions-item label="组织代码">
                        {{formData.orgCode || '--'}}
                    </a-descriptions-item>

                    <a-descriptions-item label="统一社会信用代码">
                        {{ formData.creditCode || '--'}}                  
                    </a-descriptions-item>

                    <a-descriptions-item label="经营状态">
                        {{getSelectData($store.getters.dictionary['SERVICE_DOMAIN_ADVISORY_STATE'],formData.runStatus) || '--'}}                  
                    </a-descriptions-item>

                    <a-descriptions-item label="成立时间">
                        {{ formData.createDateTime | date}}                  
                    </a-descriptions-item>

                    <a-descriptions-item label="法人/主要负责人">
                        {{ formData.legalPerson || '--'}}               
                    </a-descriptions-item>

                    <a-descriptions-item label="经营场所">
                        {{ formData.businessAddress || '--'}}
                    </a-descriptions-item>

                    <a-descriptions-item label="经营范围">
                        {{ formData.businessScope || '--'}}                  
                    </a-descriptions-item>

                </a-descriptions>
            </div>

            
        </div>
    </div>
</template>

<script>

    import xlMixin from '../../mixin/index'
    
    export default {
        name: "index",
        mixins:[xlMixin],
        data(){
            return{
                
            }
        },
        props:{
            formData:{}
        },
        created(){
            
        },
        watch:{
       },
       methods:{
           getSelectData(data,text){
                if(data){
                    const target = data.filter(item => text == item.codeMasterValue)[0]?.codeMasterName || '--'
                    return target
                }else{
                    return text
                }
            },
       },
       components:{

       }
    }
</script>
<style scoped lang="less">
    .ant-drawer-body {
        width: 100%;
        height: calc(100% - 55px);

        .xlSeeFrom {
            width: 100%;
            height: 100%;

            .xlSeeFrom-view{
                width: 100%;
                height: calc(100% - 50px);
                overflow-y: scroll;
                .ant-descriptions-item-label{
                    padding: 16px;
                    word-break: keep-all;
                }
                .ant-card{
                    margin-bottom: 10px;
                }
            }

        }
    }
</style>
